//**********************************************************************************
//conditionalOperator.java
//
//Name: Gabriel Martins	de	Castro
//Class:	COMSC	110L.51
//Date: /2014
//Instructor: Dr.	Chunyan Bai
//
//Purpose: 
//***********************************************************************************

import java.util.Scanner;

public class conditionalOperator
{
      public static void main (String[] args)
   {
      int num1, num2, num3;
      int larger;
      
      Scanner input = new Scanner(System.in);
      num1 = input.nextInt();
      num2 = input.nextInt();
      num3 = input.nextInt();
      
      larger = (num1>num2)? ((num1>num3)? num1 : num3) : ((num2>num3)? num2 : num3);
      
      System.out.println(larger);
   }
}